using EasilyNET.Mongo.Core;  
using MongoDB.Driver;  
using Catalog.Api.Models;  
  
namespace Catalog.Api.Data;  
  
public sealed class CatalogDbContext : MongoContext  
{  
    public IMongoCollection<CatalogItem> CatalogItems => GetCollection<CatalogItem>("catalog_items");  
}
